<div id="loadingPicBlock">
    <div class="wrapper">
        <toptitle toptitletext='购买记录'></toptitle>
        <div class="m_buylistDet m_now">
            <cite>
                <a href="#/main/{{data.unitary.id}}"><img src="{{data.unitary.logopic}}"><i>进行中</i></a>
            </cite>
            <dl>
                <dt>
                    <a href="javascript:;" class="gray6">{{data.unitary.name}}</a>
                </dt>
                <dd>已参与<em class="orange">{{data.unitary.pay_count}}</em>人次</dd>
                <dd>
                    <div class="gRate">
                        <div class="Progress-bar">
                            <p class="u-progress" title=""><span class="pgbar" style="width:{{data.unitary.proportion}}%;"><span class="pging"></span></span></p>
                            <ul class="Pro-bar-li">
                                <li class="P-bar01"><em>{{data.unitary.pay_count}}</em>已参与</li>
                                <li class="P-bar02"><em>{{data.unitary.total_num}}</em>总需人次</li>
                                <li class="P-bar03"><em>{{data.unitary.left_count}}</em>剩余</li>
                            </ul>
                        </div>
                    </div>
                </dd>
                <dd class="m_addto">
                    <input id="txtNum" type="number" ng-blur="numcount(data.unitary.left_count)" ng-model="inpval">
                    <div id="btnBuy" class="orangeBtn w-btn-padding" ng-click="addshop(data.unitary.id, inpval)" >追加</div>
                    <div id="btnLuck" class="orangeBtn w-btn-padding" ng-click="showMyLuckNum()" >我的幸运号</div>
                </dd>
            </dl>
        </div>
        <div class="g-Record-ctlst marginB">
            <ul class="lucknum">
                <li ng-repeat="x in data.lucknum"><p>{{x.addtime | date:'yyyy-MM-dd HH:mm:ss'}}<span>1人次</span></p><b>幸运号：{{x.lucknum}}</b></li>
            </ul>
            <div class="load_more" ng-show="isloadmore">
                正在加载中...
            </div>
        </div>
    </div>
</div>
<div ng-if="showMyLuckNumsAble" class="w-ordering-lucknums">
   <div class="w-ordering-luck-cub">
       <ul>
           <li ng-repeat="luck in myLuckNumsShowList track by $index" >{{luck}}</li>
       </ul>
       <div class="clear"></div>
   </div>
    <div class="w-ordering-more" ng-click="showAllMyLuckNum()">{{showAllMyLuckNumsAble?'简略显示':'显示更多'}}</div>
</div>

<shop-footer whoshow="3"></shop-footer>
<dialog isdialogshow="isdialogshow" dialogtext="{{dialogtext}}"></dialog>
<loading loadisshow="ctrlisloadshow"></loading>
